/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package bs.stock.dao;

import bs.global.dao.BaseDAO;
import bs.stock.modelo.ComposicionFormula;
import bs.stock.modelo.ComprosicionFormulaPK;
import javax.ejb.Stateless;

/**
 *
 * @author Claudio
 */
@Stateless
public class ST_ComposicionFormulaDAO extends BaseDAO {

    public ComposicionFormula getComposicionFormula(ComprosicionFormulaPK idPK){

        try {
            return em.find(ComposicionFormula.class, idPK);
        } catch (Exception e) {
            e.printStackTrace();
            return null;
        }
    }
    // Add business logic below. (Right-click in editor and choose
    // "Insert Code > Add Business Method")
 
}
